<script lang="ts" setup>
import { getListByConditions, urls } from '@/index';
import type { ProjectProject } from '@/index.d';
import { useRequest } from 'vue-request';
const { data } = useRequest(() => getListByConditions<ProjectProject>(urls.projectProject, {}));
</script>
<template>
  <el-option
    v-for="item in data"
    :key="item.id"
    :label="item.longProjectName as string"
    :value="item.id as number"
    v-bind="$attrs"
  />
</template>
